Add create and detail page