added error logging
fixed models undefined error
fixed req undefined error
added cookies to session?
added Redis to store user sessions
added handleError logging
replaced underscore with lodash