added functionality to only display the list of users to an admin