added validations to username & role