@Override
	public boolean equals(Object obj) {
		if (obj == this) {
			return true;
		}
		if (obj == null || obj.getClass() != this.getClass()) {
			return false;
		}
		Admin admin = (Admin) obj;

		if (admin.getLogin() == login || (login.equals(admin.getLogin())) && admin.getPassword() == password || (password.equals(admin.getPassword()))) {
			return true;
		}

		return false;

	}