function check($data)
{
$email = $data['email'];
$password = $data['password'];
$sql = "SELECT * FROM users WHERE email = ? password = ?";
$params = [$email, $password];
$result = $this->doSelect($sql, $params);
print_r($result);
//if (sizeof($result) > 0) {
// echo 'yes';
//} else {
// echo 'no';
//}
}