updated sql query for dvd_titles
updated display
fixed database connection