added games.js, adding invite