Delete method not deleting the employee of EmployeeStore
===

Hey my delete method doesnt seem to be functioning because the application fails to delete the employee when the user attempts to by entering the employees name.  What is supposed to happen is the following:
1.  The user inputs the employee's name using a mnethod i have written called userInputByName.
2.  The application searches the store for this employee.
3.  The employee is removed.

Step 3 does not work when i then print out the store the employee is still there.

I will now show you my code.

    MainApp()
    
    //---------------------------------------------------------------------------------------
    //	Name:		 Case 3: Delete by Name.
    //	Description: Choice 3 gives the user an option to delete an employee by name.
    //---------------------------------------------------------------------------------------
    			case 3:
    				System.out.println("Delete by Name.");
    				Employee employeeDelete = MenuMethods.userInputByName();
    				Store.searchByName(employeeDelete.getEmployeeName());
    				System.out.println("Your choice is: "+ employeeDelete);
    				Store.remove(employeeDelete);
    				break;

Employee 

    //---------------------------------------------------------------------------------------
    //	Employee class.
    //---------------------------------------------------------------------------------------
    public class Employee
    {
    //---------------------------------------------------------------------------------------
    //	Variables to be used in the employee store.
    //---------------------------------------------------------------------------------------
    	private String employeeName;
    	private int employeeId;
    	private String employeeEmail;
    //---------------------------------------------------------------------------------------
    //	Name:		 Constructors.
    //	Description:
    //---------------------------------------------------------------------------------------
    	public Employee(String employeeName, int employeeId, String employeeEmail) 
    	{
    		this.employeeName = employeeName;
    		this.employeeId = employeeId;
    		this.employeeEmail = employeeEmail;
    	}
    //---------------------------------------------------------------------------------------
    //	Overloading the constructor for the use with userInputByName method.
    //---------------------------------------------------------------------------------------
    	public Employee(String employeeName) 
    	{
    		this.employeeName = employeeName;
    	}
    //---------------------------------------------------------------------------------------
    //	Name: 	Getters.
    //---------------------------------------------------------------------------------------
    	public String getEmployeeEmail() 
    	{
    		return employeeEmail;
    	}
    	
    	public String getEmployeeName() 
    	{
    		return employeeName;
    	}
    	public int getEmployeeId() 
    	{
    		return employeeId;
    	}
    //---------------------------------------------------------------------------------------
    //	Name:	Setters.
    //---------------------------------------------------------------------------------------
    	public void setEmployeeEmail(String employeeEmail) 
    	{
    		this.employeeEmail = employeeEmail;
    	}
    	public void setEmployeeName(String employeeName) 
    	{
    		this.employeeName = employeeName;
    	}
    	public void setEmployeeId(int employeeId)
    	{
    		this.employeeId = employeeId;
    	}
    	
    //---------------------------------------------------------------------------------------
    //	Name:	toString.
    //---------------------------------------------------------------------------------------
    	public String toString() 
    	{
    		return "\t\t\tEmployee\n" +
    				"********************************************************************\n"+
    				"Employee Name: "+ employeeName +"\n"+ 
    				"Employee Id: " + employeeId +"\n"+  
    				"Employee Email: " + employeeEmail;
    	}
    //---------------------------------------------------------------------------------------
    }

Delete method
	

    public Employee remove(Employee key) {
    		// Remove the Employee by name.
    		if (map.containsKey(key))
    			return map.remove(key); // if it is there remove and return.
    		else
    			return null; // if its not there return nothing.
    	}

Hashmap declaration

    HashMap<String, Employee> map;
    	private static Scanner keyboard = new Scanner(System.in);
    
    	public EmployeeStore() {
    		map = new HashMap<String, Employee
SearchByName

// ---------------------------------------------------------------------------------------
	// Name: Search by Name.
	// //---------------------------------------------------------------------------------------
	public Employee searchByName(String employeeName) {
		Employee employee = map.get(employeeName);
		System.out.println(employee);
		return employee;
	}

UserInput

    //---------------------------------------------------------------------------------------
    //	Name:		 userInputByName.
    //	Description: This method is used in the MainApp to give the user capability to search by name.
    //---------------------------------------------------------------------------------------
    	public static Employee userInputByName() 
    	{
    		// String temp is for some reason needed. If it is not included
    		// The code will not execute properly.
    		String temp = keyboard.nextLine();
    		Employee e = null;
    		System.out.println("Please enter the Employee Name:");
    		String employeeName = keyboard.nextLine();
    
    		return e = new Employee(employeeName);
    
    	}



