master: changed for api logouts