add admin request handler for offline
add admin client code for offline