Added index2 to load after login and index2.js