Adding tasks controller