Changed create todo method (to DB)