Add contacts to controller and page funciton