Added a quick logout method.