function to get & display city according to profile id.