working on local server connection