added data validation for thinker and thoughts