         
         /* Check Firebase for messages old and new */
         observeForNewMessages()
+        
     }
     
     override func viewWillAppear(animated: Bool) {
         
         navigationItem.rightBarButtonItem?.title = "Done"
         inputToolbar.contentView.leftBarButtonItem = nil
-        
         
     }
     

    
    // MARK: - Properties
    
    var chatMessages = [JSQMessage]()
    var chatMessagesRef: FIRDatabaseReference!
    
    var outgoingBubbleImageView: JSQMessagesBubbleImage!

        /* Welcome and guide the user */
        
        FirebaseClient.sharedInstance().createNewMessage("Daniel", messageText: "What utility should I include in this app next?", date: FirebaseClient.sharedInstance().returnCurrentDateAsString())
    }
    
    override func viewWillDisappear(animated: Bool) {
        super.viewWillDisappear(animated)
        
        /* Don't show duplicate messages */
        FirebaseClient.sharedInstance().chatMessages.removeAll()
        
        
    }
    
    // MARK: - Helpers
