added function that retrieves a user's list of games