         
         nameTextField.text = ""
         passwordTextField.text = ""
+//        greetingLable
+//        textView
         
         
         

            //    How would you inject that last name into the paragraph of the mission briefing?
            //    Set the textview text property to the paragraph in "MissionBriefing.txt"
            //
//            nameTextView.text = "  ,\(%@)"
            
            
            

    @IBAction func authenticateAgent(sender: UIButton)
    {
        // This will cause the keyboard to dismiss when the authenticate button is tapped
        if agentUserTextField.isFirstResponder()
        {
            agentUserTextField.resignFirstResponder()
        }
        {
            passwordTextField.isFirstResponder()
        }
//        if agentUserTextField.isFirst
//             agentUser... .resign
//        if passwordTextField.isFirst
        
        //
        // 4. Check whether there is text in BOTH the name and password textfields
        //
        if agentUserTextField.text != "" && passwordTextField.text !=
        {

            //
            // 5. The greeting label needs to be populated with the the string "Good evening, Agent #", where # is the last name of
            //    the agent logging in. The agent's full name is listed in the text field, but you need to pull out just the last
