loggeduser set to null after logout