implemented versioning - users can only add versions to their own docume...

...nts