Code with service and firebase server interaction , starting level