proper redirect at sign in and sign up