adds 200 OK to logout hook
switches to new simple-api and adds post check