Add validations for todo list items. Add styling for flash messages.