added a reply to functionality in messages