Enabled signing in with usernames, send email if credentials are invalid, validate phone numbers.