Switch to firebase and add control