Got Elasticsearch admin to work with config

I updated the Elasticsearch admin page so it gets the server IP/port from
the configuration file.