Accounts and stub user search and messaging api

stub messaging api saves the message in `messages.txt`.