added slugs and sorting (server)