adds api call to get movies on /api/movies