Added filters to check authorization for certain operations.