added role name validation for presence in database