Re-enable parts of the API (events)
Re-add logout
This doesn't go here
cleanup some events and re-implement settings