add endpoints for settings and update docs