added username validate and make email is required when user create