Some modifications to urlManager