I\'m trying to do a check during registration if a user\'s email exists already. If it does, I\'m trying to flash an error-message, and if it doesn\'t a success message. Instead