add firebase basic functionality