Add validation in Todo model