implementation of role in user-mgr