add logic of private messages