moved the javascript to the external file. Wrote the login servlet and now using foundation to put up the login page. Login page is still not completed