! take care of todo on private var
! add a simple hook here
! move db calls out of ProfileHistory.controller.php