Corrected inconsistent render issues. Restructured upload route, a corrected all uses of firebaseRef.on to firebaseRef.once