New view

Fix view and error pages