Added function for getting title and id from movies