route access logic change