Updated client's pagefault function