Changed todo list and address book to catch the error messages