Changed return type on getLoggedInUSers from List<User> to Map<String,User>