Modify CookieAuthenticator
Add controller for editing and importing documents