fixed a bug where any user could edit any resource - oops. changed medshare modules.