changed public index view and added some jquery