Fix profile.php 404 page