Add create function and remove index from url