list<UserModel> EducationSystemDataModel::getAllInstructors()
{
    list<UserModel> instructors;
    list<UserModel>::iterator userItem;
    for(userItem = users.begin(); userItem != users.end(); userItem++){
        UserModel user = *userItem;
        if(user.getStatus() == 2){
            instructors.push_back(user);
        }
    }
    return instructors;
}
list<UserModel> EducationSystemDataModel::getAllEmployees()
{
    list<UserModel> employees;
    list<UserModel>::iterator userItem;
    for(userItem = users.begin(); userItem != users.end(); userItem++){
        UserModel user = *userItem;
        if(user.getStatus() == 3){
            employees.push_back(user);
        }
    }
    return employees;
}
list<UserModel> EducationSystemDataModel::getAllStudents()
{
    list<UserModel> students;
    list<UserModel>::iterator userItem;
    for(userItem = users.begin(); userItem != users.end(); userItem++){
        UserModel user = *userItem;
        if(user.getStatus() == 1){
            students.push_back(user);
        }
    }
    return students;
}