connected to devl server to get data via elastic search