Add in  and getTasks from database