implementing slugs using Redis