updated the index file for UI layout