cleanup, auth study edits, add edit-media servlet