changed login/logout to logout only