adds page content adding functionality