building table view page