add a proper web UI

move success to a template, add a user_data function, add a settings view.