Added functionality to invite a friend to a game