Removed user info and fragment from the url on history policy