chat app written in Swift with Firebase