ALM-283 added write API for admin users. Limited to calls from localhost for security reasons. Closes #7.