connect to server and show layers