Added user preference changing and the index for members