change fail message on logout for api