fix sign in and out routes