Added slug creation functionality