Firebase data working correctly