Added resolveVanityURL method