Develop

Merged function branch into develop branch so that the games are only added to a user's games if they are completed.