move admin routing to client-side