Adding proper path for pages