Movie queries returned if query is not nil, else returns list of movies

 - if the query is not nil, displays those queries
 - if there is not query, displays the first set of movies
 - used an if/else statement