major deletion of unnecessary stuff in profile.php