Implementing connection to server for current conditions