Implement and test user retrieval and private messages