restored the profile controller