added more UI/Logic to AutoUI