controller calling the profile service