Add state API and UI for state changes to admin dashboard

Closes issue #141