added code to decline chat