Storing base_url to not rely on SESSION which does not exist for normal user