updated pages to work with mvc