Refactor code of controllers