added function skeletons for login.js
Added stuff