add a whoami endpoint, and adjust send message storing