improve webapp with spinner