generated contorller for profile