change profile path to relative path
add profile API