before start chat