Added idAgente in tables user and changer user class to get the value from that database