fixed scaffold ordering, started on log controller