Added functionality to check if email exists
Added functionality to check if email exists

Before this commit, users could signup different accounts with the same email.
The program now checks to ensure the email submitted during registration is
not already in the system.

Fixed bug where an unverified user could access the homepage after registration

Signed-off-by: Vickz84259 <462758974790386c447a9a68bee27d1af2734fa0@gmail.com>

vickz84259/coursework,vickz84259/coursework,vickz84259/coursework,vickz84259/coursework