Fixed error on profile.php and message.php preventing avatars from showing up