Login and Logout functionalities implemented v1
index.html and app.js updated