adding session management example to pagerefresh demo