Added setLoggedInUser