Added format validation for username