Refactor admin route constraint