Edit to viewProfiles.php