public function registerUser ($data) {
$pd = $this->prepareData($data);
$cm = $this->checkMail($data['email']);
$cd = $this->checkData($data);
if($pd ==false || $cm == false || $cd==false){
}
// После проверок - сама вставка
$this->createUser($data);
}