clears currentGames on logout in User
changes mongodb check to use if(db) instead of if(error === null) in main