again modification of index.js to redirect to home when application is accessed