added missing method to pages controller, moved route to root path