Method handling for pagecontroller