code for a custom user preference center