add test for user redirection after sign in