separated insight-api form front-end