cleaned up log off