Revert if else wrap for checking admin role