Added post slugify functionality to model