Refactores slightly userProfileCtrl