Converted getLoggedInUsers to return empty list instead of null