Cleaned up the login/logout scripting