adding slugs for posts and comments