fixed role name validation and user email validation