add /user/profile/lib.php