Add code for index and also add assets for theme and jquery