Login and Register Javascript seperated.

Login.html now hits the servers and checks if an account exists. Returrns true or false in the data which redirects if true.