Registration success now redirects properly