layout working. Firebase logic starting