updating pom.xml, implementing function connect to server dialog