add postLogout method