refactored REST firebase urls