index templating + try to insert new game to db