fixed game logic and made profile page better