adding php code to setting page