added posts to resources, created slug generating programme