Refactored ClojureScript to remove nthrest.
Started to add login form to index page.