Add several functionalities. Sync with Firebase.