Added controller for todos