Fixed redirection bug after a new user signs up