Using new firebase db and updating unread message count