updating login.js views