Fix frontend, add promice