add logging
return 404 if profile not found