Completed video 29 & 30: finished the open and close function in database.php