Call last_id instad of last_insert in Guide.php