modified get user by role