add pages controller, add sessions controller