integrate with Firebase preference database