Updated to save game state on logout
Updated to save game state on logout