Fix spl_autoload_register so it won't conflict with other register
row() and rows() will return nothing if the $query->num_rows is zero. Therefore if you check a value returned from find() method with empty(), it will  return TRUE if no records found