Added firebase and basic clicking functionality