Fixed user session - working on logout