Added ability to log off