Check if the user or the mail is in the database on the registration page