interim commit to save changes related to authentication
added authentication with passport.js
added getting user id from session
fix using user id from session
merge with latest changes
merge with latest Alex changes
merge with latest Alex changes