added check to see if user is in game, and to modify buttons based on that