Coding the private messages section