Addedd logic to determine if the user exists.

Queries the DB to make sure the user does not exists before the program
completes the signup.