added an is-admin flag for admin route