Added check for if the users email already exists