fixed auth.jsx