Shorter embed urls

Store the encoded data in a table that is accessed from an id when the link is generated