page refresh redirect, adding name and id