Added ability to logoff.