fixed code to properly pass game and role ids to post form