Fixed game logic, added endpoints to check for token expiration,fixed the problem with the high-score