removed the public index
generated controller for homepage