add the js library and complete the login page
update the relavant files