Implemented log off