added profileCtrl