added vanity url functionality