made logs controller and index view