sample database and render page