update form class
update login view
update global JS object