create database in local storage
view first page