added role to user and validations