creating preference page