added ConnectionHandler and implemented pullPassword