Fixed issues with url generation in admin panel and added link to published page