Change profile API call to be sync, return data