Register page was redirecting to a URL that didn't exist