Added new messages resource to the client

Also made some fixes on the user details page.