added slug field to db model