Javascript for Username and Password

Javascript for validating username and password. Integrated it into the
index.html