added database function to create table, and add title of movie to database when poster page is viewed