Added Index and a view End Points