public function logout() {
        $response=CodeBank_ClientAPI::responseBase();
        
        //Session now expired
        $response['session']='expired';
        
        $member=Member::currentUser();
        if($member) {
            $member->logOut();
        }
        
        return $response;
    }