Javascripted the login form