Editing the public index controller