Store sessionID correctly