putting data to database: users
login page
passportjs configuration
adding connect-flash module to send flash messages
fixing login page
server login code