Corrected the private messaging functionality