updated index.html and home.html to maintain the login status.