now using base_url() in all link so that we can use a subdirectory rather than forcing it being on the root