Generate an uuid for messages, fix user data regexp