add validation to firebase factories, etc.