added functionality to accept and decline for view games