bind settings and firebase data