added javascript signup and login