Implements LogOut