I need to develop a widget which can save extent(home) of webmap for each logged in user in database table. So whenever user clicks on 'Home' button, saved extent from database table can be extracted and webmap needs to be zoomed. Is there any widget that does that ? What is the way to save data from javascript ?