Use browser-based input require
Add dynamically changing account list widget

And refactor the code, so that all the updating logic is shared