Add a todo and partially refactor the home controller