added slug name validation