streamlined the login/out process