firebase and some questions
small changes
merge