Updated fields for login page. added js for modals