user setting save function added