fixing a NoMethodError exception in validate_user(), all validate methods likely have similar problems