add contents and navigation bar