Integrated local authentication

redirects from home.ejs to login or signup
trying to implement login form directly into home page