Implemented missing logout