fixing paths issues for displaying images, css, js files.