refactor existeUsuario and getConnection
refactor validarCuenta
refactor getUsuario
refactor cambiarPassword