Improve the LogController