load page if path is given