add crocodoc viewSession and atachment deletion functions