Implemented baseurl in layout