Update to crud_record and mysqldb

The addition of the function allowed_to_drive in both files.