fixing admin auth