Edited the app to use RequireJS and started creating sessions with NodeJS