Added user authentication, changed index.html layout