Added firebase auth dependency, added an ajax call to get Firebase token from backend.