added error handling if no todo name provided