updated firebase to work on multiple devices