Added login.js and signup.js. Fixes 8.