Rename index.ejs to login.ejs
Removing redundant code
Fixed Login bug