switched view-movie to prepared statement