added chatuser function

Copied the user function and substituted chat address, to see what happens.