some improvements in api direct messages