Add bookmark and user api endpoints

- Changes the dashboard to use the new api endpoints via JS api/views.
- Fixes major bug where API base_cfg was shared across instances in a stupid way.