Refactored - loggedInUser passed in as parametre getTripsByUser