added cookie and trying to change url path