cleaned up code and added psuedo logic for ending session btn and end of game to work on later