use the slug instead of the id for urls