created user preference factory