Validate for username password and mail