Added basic functionality to some pages