working primative gui with backend connection