Added in unauthorized exception, and made save permission throw it if unauthorized