More Changes to authentication and permissions.