Minor fixes

permissions setting ready to be implemented once the admin pages are
ready