created table view and navigation controller