Changes to GameManager so only friends can view and enter private games, finding the private games takes some time because of the mysql connection but it works.