Added a global variable to know the url to the homepage