@Override
    public boolean equals(java.lang.Object obj){
        if(this == obj) {
                 return true;
        }
        if (!(obj instanceof User)) {
            return false;
        }
        User objetother = (User) obj;
        if(this.firstname.equals(objetother.firstname) 
        		&& this.surname.equals(objetother.surname)
        		&& this.surname.equals(objetother.login))
            return true;
        return false;
    }