Added method getLoggedInUsers() to get the logged in users