adding chat resource in tutorial