public Future<Boolean> addMessageToChat(String chatId, Message m) {
        //accessing the chat collection
        CollectionReference chatRef = db.collection(CHATCOLLECTION.toString());

        //finding the schedule with the right chatId