login and signup js modify