Serving static HTML and connecting it to REST API