create private message logic