fixed typo and redirecting to profile after user signs up