remove null checks on the list from getLoggedInUser()