tweaked the login/signup/signout scripts