refresh and locate to another page