add length and presence validation to todo list title