added binding to pages controller