Added var declaration for sessionLogic
ignore generation migrations
added missing res.error
added missing res.error
Changed to explicit dependency injection
oauth and session logic now load after passport is initialized
Removed debugging stuff
minor cleanup
handle /session/ and /oauth/:provider routes before handling oauth2
Still fixing merge conflicts