Fixed email/password registration and  email validation