connected client to gui