Added a set title function to PageHandler