changed to db
login page
updated web.js