updated for controller and createprofile form