Add log controller