added buttons to pages