load schemas from Firebase

function to load schema from Firebase