change logs controller and manager to use manager method and instance of the manager,