connected api with userprofileviewcontroller