added ability not to change url if we have no rights for reading