User authentication and game unlocks web service in NodeJS