add length and presense validation to todo list title