RC: added the redirect to 404 if profile not found