serving index page from public directory