fixed issue with baseurl and site url

uri string was a private function earlier and is now a function within
url helper