python firebase realtime database listener