Fixed comprovar_dni function, new param to avoid username duplication