using slug to find pages