updated with functions to get user and get users