Integrated login feature into main index.html

Will now show username and password field when clicking LOGIN button and
will submit data when clicked the second time.