add mongoose object userSchema
properly export User model
add connect-flash dependency
add passport-local configuration