Added loading bar
Connecting firebase