fixed sign up redirecting issue.